<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ page pageEncoding="UTF-8"%>
<html>
<head>
    <title>修改商品</title>
</head>
<body>
<div>
<h1>修改商品</h1>
</div>
<div>
    <div>
        <span style="color: red">${error}</span>
    </div>
    <form:form action="update" method="post" modelAttribute="product">
        <form:hidden path="id"/>
        <form:label path="name">name</form:label>
        <form:input path="name" />
        <br>
        <form:label path="price">price</form:label>
        <form:input path="price"/>
        <br>
        <form:label path="storage">storage</form:label>
        <form:input path="storage"/>
        <br>
        <input type="submit" value="submmit">
    </form:form>
</div>
</body>
</html>
